using System;
using System.Collections.Generic;
using System.Linq;

namespace LeadTracker.Entities
{
	public enum LeadStatus
	{
		Proposed = 0,
		Claimed = 1,
		ReadyForReview = 2,
		Published = 3
	}

	public static class LeadStatusExtension
	{
		public static string DisplayText(this LeadStatus value)
		{
			switch (value)
			{
				case LeadStatus.Proposed:
					return "Proposed";
				case LeadStatus.Claimed:
					return "Claimed";
				case LeadStatus.ReadyForReview:
					return "Ready For Review";
				case LeadStatus.Published:
					return "Published";
				default:
					throw new ArgumentOutOfRangeException("value");
			}

		}
	}
}
